import Mock from 'mockjs';
import profile from './profile.json';
import item from './item.json';
import ace from './ace.json';
import AllItem from './AllItem.json';
import changes from './changes.json';

// mock数据：第一个参数是请求地址 第二个参数是请求数据

Mock.mock('/mock/profile', { code: 200, data: profile });
Mock.mock('/mock/item', { code: 200, data: item });
Mock.mock('/mock/AllItem', { code: 200, data: AllItem });
Mock.mock('/mock/ace', { code: 1, data: ace });
Mock.mock('/mock/changes', { code: 1, data: changes });
